export const wrningColumn = [
  {
    label: "单位",
    prop: "unit"
  },
  {
    label: "投入力量",
    children: [
      {
        label: "人员",
        prop: "personnel"
      },

      {
        label: "车辆",
        prop: "vehicles"
      },
      {
        label: "发电车",
        prop: "powerGenerationVehicles"
      },
      {
        label: "发电机",
        prop: "dynamo"
      }
    ]
  }
];
export const warningFormRules = {
  dutySource: [
    { required: true, message: "请输入预警通知单", trigger: "blur" }
  ],
  eventMonitor: [
    { required: true, message: "请输入总体情况", trigger: "blur" }
  ],
  measuresTaken: [
    { required: true, message: "请输入采取措施情况", trigger: "blur" }
  ],
  nextWorkArrangement: [
    { required: true, message: "请输入下一步工作安排", trigger: "blur" }
  ],
  nextStepsSuggestions: [
    { required: true, message: "请输入工作建议", trigger: "blur" }
  ],
  approvalOpinion: [{ required: true, message: "请输入审批意见", trigger: "blur" }]
};
export const emergencyFormRules = {

  yj: [{ required: true, message: "请输入审批意见", trigger: "blur" }],
  eventMonitor: [
    { required: true, message: "请输入总体情况", trigger: "blur" }
  ],
  caqk: [
    { required: true, message: "请输入应急处置情况", trigger: "blur" }
  ]
};
export const emergencyColumn1 = [ // 停复电统计表
  {
    label: "所属单位",
    prop: "unit"
  },
  {
    label: "输电线路",
    children: [
      {
        label: "110kV",
        children: [
          {
            label: "累计跳闸",
            prop: "lineOneHundredTen"
          },
          {
            label: "累计恢复",
            prop: "lineOneHundredTenRecover"
          }

        ]
      },
      {
        label: "35kV",
        children: [
          {
            label: "累计跳闸",
            prop: "lineOneThirtyFive"
          },
          {
            label: "累计恢复",
            prop: "lineOneThirtyFiveRecover"
          }
        ]
      }
    ]
  },
  {
    label: "变电站",
    children: [
      {
        label: "110kV",
        children: [
          {
            label: "累计停运",
            prop: "transformerOneHundredTen"
          },
          {
            label: "累计恢复",
            prop: "transformerOneHundredTenRecover"
          }

        ]
      },
      {
        label: "35kV",
        children: [
          {
            label: "累计停运",
            prop: "transformerThirtyFive"
          },
          {
            label: "累计恢复",
            prop: "transformerThirtyFiveRecover"
          }
        ]
      }

    ]
  },
  {
    label: "配电线路",
    children: [
      {
        label: "10kV",
        children: [
          {
            label: "累计停运",
            prop: "distributionTen"
          },
          {
            label: "累计恢复",
            prop: "distributionTenRecover"
          }
        ]
      }

    ]
  }
];
export const emergencyColumn2 = [ // 各单位投入情况表
  {
    label: "地区",
    prop: "region"
  },
  {
    label: "投入力量",
    children: [
      {
        label: "人员",
        prop: "personnel"
      },

      {
        label: "车辆",
        prop: "vehicle"
      }
    ]
  },
  {
    label: "已配发电车",
    prop: "powerCar"
  },
  {
    label: "已配发电机",
    prop: "dynamo"
  },
  {
    label: "通讯设备",
    prop: "communicationEquipment"
  },
  {
    label: "冲锋舟",
    prop: "assaultBoat"
  },
  {
    label: "照明设备",
    prop: "lightingEquipment"
  }
];
export const emergencyColumn3 = [ // 天气预报情况
  {
    label: "位置",
    prop: "location"
  },
  {
    label: "最高温",
    prop: "theMaximumTemperature"
  },
  {
    label: "最低温",
    prop: "lowestTemperature"
  },
  {
    label: "白天",
    prop: "daytime"
  },
  {
    label: "晚上",
    prop: "night"
  },
  {
    label: "风况",
    prop: "windConditions"
  }
];
export const warningTitleConfig = [
  {
    title: "信息来源",
    name: "1",
    slot: "slot1"
  },
  {
    title: "值班日报",
    name: "2",
    slot: "slot2"
  },
  {
    title: "下一步工作安排及建议",
    name: "3",
    slot: "slot3"
  },
  {
    title: "填报信息",
    name: "4",
    slot: "slot4"
  }
];
export const emergencyTitleConfig = [
  {
    title: "信息来源",
    name: "1",
    slot: "slot1"
  },
  {
    title: "值班日报",
    name: "2",
    slot: "slot2"
  },
  {
    title: "填报信息",
    name: "3",
    slot: "slot3"
  }

];
